<!doctype html>


<html>
<head>
  <link rel="shortcut icon" href="static/images/favicon.ico" type="image/x-icon">
  <title>BrowserChannel (Closure Library API Documentation - JavaScript)</title>
  <link rel="stylesheet" href="static/css/base.css">
  <link rel="stylesheet" href="static/css/doc.css">
  <link rel="stylesheet" href="static/css/sidetree.css">
  <link rel="stylesheet" href="static/css/prettify.css">

  <script>
     var _staticFilePath = "static/";
     var _typeTreeName = "goog";
     var _fileTreeName = "Source";
  </script>

  <script src="static/js/doc.js">
  </script>

  <script type="text/javascript" src="//www.google.com/jsapi"></script>
  <script type="text/javascript">
     google.load("visualization", "1", {packages:["orgchart"]});
     var _loadingVisualizations = true;
  </script>

  <meta charset="utf8">
</head>

<body onload="grokdoc.onLoad();">

<div id="header">
  <div class="g-section g-tpl-50-50 g-split">
    <div class="g-unit g-first">
      <a id="logo" href="index.html">Closure Library API Documentation</a>
    </div>

    <div class="g-unit">
      <div class="g-c">
        <strong>Go to class or file:</strong>
        <input type="text" id="ac">
      </div>
    </div>
  </div>
</div>





<div class="colmask rightmenu">
<div class="colleft">
    <div class="col1">
      <!-- Column 1 start -->

<div id="title">
        <span class="fn">net.BrowserChannel</span>
        <span>Extends</span>
        <span class="fn-name">
          
        </span>
</div>

<div class="g-section g-tpl-75-25">
  <div class="g-unit g-first" id="description">
    Encapsulates the logic for a single BrowserChannel.


  </div>


        <div class="g-unit" id="useful-links">
          <div class="title">Useful links</div>
          <ol>
            <li><a href="local_closure_goog_net_browserchannel.js.source.html"><span class='source-code-link'>Source Code</span></a></li>
            <li><a href="http://code.google.com/p/closure-library/source/browse/local/closure/goog/net/browserchannel.js">Git</a></li>
          </ol>
        </div>
</div>






<h2 class="g-first">Inheritance</h2>
<div class='gviz-org-chart-container goog-inline-block'>
<table class='gviz-org-chart' style='display:none'>
  <tr><td>goog.net.BrowserChannel</td><td></td></tr>
</table>
</div>
<div class='gviz-org-chart-container goog-inline-block'>
<table class='gviz-org-chart' style='display:none'>
</table>
</div>




  <h2>Constructor</h2>
      <div class="fn-constructor">
    goog.net.BrowserChannel(<span><span class="arg">opt_clientVersion</span>,&nbsp;<span class="arg">opt_firstTestResults</span>,&nbsp;<span class="arg">opt_secondTestResults</span></span>)
  </div>

   <h3>Parameters</h3>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">opt_clientVersion</span>
        : <span class="type">string=</span>
        <div class="entryOverview">An application-specific version number
       that is sent to the server when connected.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">opt_firstTestResults</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type">string></span>&gt;
        <div class="entryOverview">Previously determined results
       of the first browser channel test.</div>
     </td>
   </tr>
     
   <tr class="even">
     <td>
        <span class="entryName">opt_secondTestResults</span>
        : <span class="type">boolean=</span>
        <div class="entryOverview">Previously determined results
       of the second browser channel test.</div>
     </td>
   </tr>
  </table>


<h2>Instance Methods</h2>


  <div class="legend">
        <span class="key publickey"></span><span>Public</span>
        <span class="key protectedkey"></span><span>Protected</span>
        <span class="key privatekey"></span><span>Private</span>
  </div>







<div>
       <div class="desc">
         Defined in
         <span class="fn-name">
            <a href="class_goog_net_BrowserChannel.html">
              goog.net.BrowserChannel
            </a>
         </span>
       </div>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.addAdditionalParams_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">addAdditionalParams_<span class="args">(<span class="arg">uri</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Adds the additional parameters from the handler to the given URI.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">uri</span>
        : <span class="type"><a href="class_goog_Uri.html">goog.Uri</a></span>
        <div class="entryOverview">The URI to add the parameters to.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1551">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.cancelRequests_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">cancelRequests_<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Cancels all outstanding requests.

     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1026">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.clearDeadBackchannelTimer_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">clearDeadBackchannelTimer_<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Clears the timer that indicates that our backchannel is no longer able to
successfully receive data from the server.

     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1955">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.connect"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">connect<span class="args">(<span class="arg">testPath</span>,&nbsp;<span class="arg">channelPath</span>,&nbsp;<span class="arg">opt_extraParams</span>,&nbsp;<span class="arg">opt_oldSessionId</span>,&nbsp;<span class="arg">opt_oldArrayId</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Starts the channel. This initiates connections to the server.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">testPath</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The path for the test connection.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">channelPath</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The path for the channel connection.</div>
     </td>
   </tr>
     
   <tr class="even">
     <td>
        <span class="entryName">opt_extraParams</span>
        : <span class="type">Object=</span>
        <div class="entryOverview">Extra parameter keys and values to add to
    the requests.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">opt_oldSessionId</span>
        : <span class="type">string=</span>
        <div class="entryOverview">Session ID from a previous session.</div>
     </td>
   </tr>
     
   <tr class="even">
     <td>
        <span class="entryName">opt_oldArrayId</span>
        : <span class="type">number=</span>
        <div class="entryOverview">The last array ID from a previous session.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line932">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.connectChannel_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">connectChannel_<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Starts the regular channel which is run after the test channel is complete.

     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1012">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.connectTest_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">connectTest_<span class="args">(<span class="arg">testPath</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Starts the test channel to determine network conditions.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">testPath</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The relative PATH for the test connection.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line995">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.correctHostPrefix"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">correctHostPrefix<span class="args">(<span class="arg">serverHostPrefix</span>)</span>
        </span>
        &#8658; <span>?</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Decides which host prefix should be used, if any.  If there is a handler,
allows the handler to validate a host prefix provided by the server, and
optionally override it.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">serverHostPrefix</span>
        : <span>?</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The host prefix provided by the server.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>?</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            The host prefix to actually use, if any. Will return null
    if the use of host prefixes was disabled via setAllowHostPrefix().
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1921">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.createDataUri"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">createDataUri<span class="args">(<span class="arg">hostPrefix</span>,&nbsp;<span class="arg">path</span>,&nbsp;<span class="arg">opt_overridePort</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="class_goog_Uri.html">goog.Uri</a></span>
      </div>


     <div class="entryOverview">
       Creates a data Uri applying logic for secondary hostprefix, port
overrides, and versioning.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">hostPrefix</span>
        : <span>?</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The host prefix.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">path</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The path on the host (may be absolute or relative).</div>
     </td>
   </tr>
     
   <tr class="even">
     <td>
        <span class="entryName">opt_overridePort</span>
        : <span class="type">number=</span>
        <div class="entryOverview">Optional override port.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="class_goog_Uri.html">goog.Uri</a></span>&nbsp;
            The data URI.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line2340">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.createXhrIo"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">createXhrIo<span class="args">(<span class="arg">hostPrefix</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="class_goog_net_XhrIo.html">goog.net.XhrIo</a></span>
      </div>


     <div class="entryOverview">
       Called when BC needs to create an XhrIo object.  Override in a subclass if
you need to customize the behavior, for example to enable the creation of
XHR's capable of calling a secondary domain. Will also allow calling
a secondary domain if withCredentials (CORS) is enabled.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">hostPrefix</span>
        : <span>?</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The host prefix, if we need an XhrIo object
    capable of calling a secondary domain.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="class_goog_net_XhrIo.html">goog.net.XhrIo</a></span>&nbsp;
            A new XhrIo object.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line2389">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.dequeueOutgoingMaps_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">dequeueOutgoingMaps_<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Returns the request text from the outgoing maps and resets it.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            The encoded request text created from all the currently
                 queued outgoing maps.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1570">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.disconnect"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">disconnect<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Disconnects and closes the channel.

     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line955">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.ensureBackChannel_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">ensureBackChannel_<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Ensures there is a backchannel request for receiving data from the server.

     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1627">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.ensureForwardChannel_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">ensureForwardChannel_<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Ensures that a forward channel request is scheduled.

     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1366">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.ensureInState_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">ensureInState_<span class="args">(<span class="arg">var_args</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Helper to ensure the BrowserChannel is in the expected state.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">var_args</span>
        : <span class="type">...number</span>
        <div class="entryOverview">The channel must be in one of the indicated
    states.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line2175">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.getAllowChunkedMode"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getAllowChunkedMode<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Returns whether chunked mode is allowed. In certain debugging situations,
it's useful for the application to have a way to disable chunked mode for a
user.

@return {boolean} Whether chunked mode is allowed.

     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1168">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.getAllowHostPrefix"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getAllowHostPrefix<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
      </div>


     <div class="entryOverview">
       Returns whether the channel allows the use of a subdomain. There may be
cases where this isn't allowed.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>&nbsp;
            Whether a host prefix is allowed.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1131">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.getBackChannelMaxRetries"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getBackChannelMaxRetries<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
      </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>&nbsp;
            The max number of back-channel retries, which is a constant.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1283">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.getBackChannelUri"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getBackChannelUri<span class="args">(<span class="arg">hostPrefix</span>,&nbsp;<span class="arg">path</span>)</span>
        </span>
        &#8658; <span class="type"><a href="class_goog_Uri.html">goog.Uri</a></span>
      </div>


     <div class="entryOverview">
       Gets the Uri used for the connection that receives data from the server.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">hostPrefix</span>
        : <span>?</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The host prefix.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">path</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The path on the host.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="class_goog_Uri.html">goog.Uri</a></span>&nbsp;
            The back channel URI.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line2323">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.getChannelDebug"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getChannelDebug<span class="args">()</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="class_goog_net_ChannelDebug.html">goog.net.ChannelDebug</a></span>
      </div>


     <div class="entryOverview">
       Returns the browserchannel logger.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="class_goog_net_ChannelDebug.html">goog.net.ChannelDebug</a></span>&nbsp;
            The channel debug object.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line840">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.getExtraHeaders"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getExtraHeaders<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Object">Object</a></span>
      </div>


     <div class="entryOverview">
       Returns the extra HTTP headers to add to all the requests sent to the server.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Object">Object</a></span>&nbsp;
            The HTTP headers, or null.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1061">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.getFirstTestResults"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getFirstTestResults<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&gt;
      </div>


     <div class="entryOverview">
       Gets the results for the first browser channel test

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&gt;&nbsp;
            The results.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line2301">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.getForwardChannelMaxRetries"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getForwardChannelMaxRetries<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
      </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>&nbsp;
            The max number of forward-channel retries, which will be 0
in fail-fast mode.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1254">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.getForwardChannelUri"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getForwardChannelUri<span class="args">(<span class="arg">path</span>)</span>
        </span>
        &#8658; <span class="type"><a href="class_goog_Uri.html">goog.Uri</a></span>
      </div>


     <div class="entryOverview">
       Gets the Uri used for the connection that sends data to the server.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">path</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The path on the host.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="class_goog_Uri.html">goog.Uri</a></span>&nbsp;
            The forward channel URI.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line2289">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.getHandler"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getHandler<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="class_goog_net_BrowserChannel_Handler.html">goog.net.BrowserChannel.Handler</a></span>
      </div>


     <div class="entryOverview">
       Returns the handler used for channel callback events.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="class_goog_net_BrowserChannel_Handler.html">goog.net.BrowserChannel.Handler</a></span>&nbsp;
            The handler.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1112">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.getLastArrayId"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getLastArrayId<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
      </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>&nbsp;
            The last array id received.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1320">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.getLastStatusCode"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getLastStatusCode<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
      </div>


     <div class="entryOverview">
       Return the last status code received for a request.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>&nbsp;
            The last status code received for a request.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1312">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.getRetryTime_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getRetryTime_<span class="args">(<span class="arg">retryCount</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
      </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">retryCount</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">Number of retries so far.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>&nbsp;
            Time in ms before firing next retry request.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line2078">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.getSecondTestResults"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getSecondTestResults<span class="args">()</span>
        </span>
        &#8658; <span>?</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
      </div>


     <div class="entryOverview">
       Gets the results for the second browser channel test

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>?</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>&nbsp;
            The results. True -&gt; buffered connection,
     False -&gt; unbuffered, null -&gt; unknown.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line2312">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.getSessionId"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getSessionId<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Returns the session id of the channel. Only available after the
channel has been opened.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            Session ID.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line984">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.getState"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getState<span class="args">()</span>
        </span>
        &#8658; <span class="type">goog.net.BrowserChannel.State</span>
      </div>


     <div class="entryOverview">
       Returns the browser channel state.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type">goog.net.BrowserChannel.State</span>&nbsp;
            The current state of the browser
channel.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1303">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.handleBackchannelMissing_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">handleBackchannelMissing_<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Handles a POST response from the server telling us that it has detected that
we have no hanging GET connection.

     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1869">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.handlePostResponse_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">handlePostResponse_<span class="args">(<span class="arg">responseValues</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Handles a POST response from the server.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">responseValues</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>
        <div class="entryOverview">The key value pairs in the POST response.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1838">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.hasOutstandingRequests"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">hasOutstandingRequests<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
      </div>


     <div class="entryOverview">
       Returns whether there are outstanding requests servicing the channel.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>&nbsp;
            true if there are outstanding requests.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1329">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.isActive"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">isActive<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
      </div>


     <div class="entryOverview">
       Gets whether this channel is currently active. This is used to determine the
length of time to wait before retrying. This call delegates to the handler.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>&nbsp;
            Whether the channel is currently active.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line2404">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.isBuffered"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">isBuffered<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
      </div>


     <div class="entryOverview">
       Returns whether the channel is buffered or not. This state is valid for
querying only after the test connection has completed. This may be
queried in the goog.net.BrowserChannel.okToMakeRequest() callback.
A channel may be buffered if the test connection determines that
a chunked response could not be sent down within a suitable time.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>&nbsp;
            Whether the channel is buffered.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1156">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.isClosed"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">isClosed<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
      </div>


     <div class="entryOverview">
       Returns whether the channel is closed

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>&nbsp;
            true if the channel is closed.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1293">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.makeForwardChannelRequest_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">makeForwardChannelRequest_<span class="args">(<span class="arg">opt_retryRequest</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Makes a forward channel request using XMLHTTP.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">opt_retryRequest</span>
        : <span class="type">goog.net.ChannelRequest=</span>
        <div class="entryOverview">A failed request to retry.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1500">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.maybeRetryBackChannel_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">maybeRetryBackChannel_<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
      </div>


     <div class="entryOverview">
       Schedules a back-channel retry, unless the max retries has been reached.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>&nbsp;
            true iff a retry was scheduled.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1650">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.maybeRetryForwardChannel_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">maybeRetryForwardChannel_<span class="args">(<span class="arg">request</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
      </div>


     <div class="entryOverview">
       Schedules a forward-channel retry for the specified request, unless the max
retries has been reached.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">request</span>
        : <span class="type"><a href="class_goog_net_ChannelRequest.html">goog.net.ChannelRequest</a></span>
        <div class="entryOverview">The failed request to retry.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>&nbsp;
            true iff a retry was scheduled.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1390">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.notifyServerReachabilityEvent"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">notifyServerReachabilityEvent<span class="args">(<span class="arg">reachabilityType</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Notify the channel that a particular fine grained network event has occurred.
Should be considered package-private.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">reachabilityType</span>
        : <span class="type">goog.net.BrowserChannel.ServerReachability</span>
        <div class="entryOverview">The
    reachability event type.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line2462">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.okToMakeRequest_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">okToMakeRequest_<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
      </div>


     <div class="entryOverview">
       Gives the handler a chance to return an error code and stop channel
execution. A handler might want to do this to check that the user is still
logged in, for example.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>&nbsp;
            If it's OK to make a request.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1730">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.onBackChannelDead_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">onBackChannelDead_<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Handles the timer that indicates that our backchannel is no longer able to
successfully receive data from the server.

     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1938">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.onClose_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">onClose_<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Called when the channel has been closed. It notifiers the handler of the
event, and reports any pending or undelivered maps.

     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line2260">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.onError_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">onError_<span class="args">(<span class="arg">error</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Called when we've determined the final error for a channel. It closes the
notifiers the handler of the error and closes the channel.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">error</span>
        : <span class="type">goog.net.BrowserChannel.Error</span>
        <div class="entryOverview">The error code for the failure.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line2244">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.onInput_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">onInput_<span class="args">(<span class="arg">respArray</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Processes the data returned by the server.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">respArray</span>
        : <span>!</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span>!</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>&gt;
        <div class="entryOverview">The response array returned by the server.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line2109">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.onRequestComplete"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">onRequestComplete<span class="args">(<span class="arg">request</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Callback from ChannelRequest that indicates a request has completed.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">request</span>
        : <span class="type"><a href="class_goog_net_ChannelRequest.html">goog.net.ChannelRequest</a></span>
        <div class="entryOverview">The request object.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1986">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.onRequestData"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">onRequestData<span class="args">(<span class="arg">request</span>,&nbsp;<span class="arg">responseText</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Callback from ChannelRequest for when new data is received

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">request</span>
        : <span class="type"><a href="class_goog_net_ChannelRequest.html">goog.net.ChannelRequest</a></span>
        <div class="entryOverview">The request object.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">responseText</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The text of the response.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1790">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.onStartBackChannelTimer_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">onStartBackChannelTimer_<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Timer callback for ensureBackChannel_.

     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1676">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.onStartForwardChannelTimer_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">onStartForwardChannelTimer_<span class="args">(<span class="arg">opt_retryRequest</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Timer callback for ensureForwardChannel

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">opt_retryRequest</span>
        : <span class="type">goog.net.ChannelRequest=</span>
        <div class="entryOverview">A failed request to retry.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1418">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.onSuccess_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">onSuccess_<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Called when messages have been successfully sent from the queue.

     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line2231">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.open_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">open_<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Establishes a new channel session with the the server.

     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1472">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.outstandingRequests_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">outstandingRequests_<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
      </div>


     <div class="entryOverview">
       Returns the number of outstanding requests.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>&nbsp;
            The number of outstanding requests to the server.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1350">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.requeuePendingMaps_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">requeuePendingMaps_<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Requeues unacknowledged sent arrays for retransmission in the next forward
channel request.

     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1617">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.sendMap"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">sendMap<span class="args">(<span class="arg">map</span>,&nbsp;<span class="arg">opt_context</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Sends a request to the server. The format of the request is a Map data
structure of key/value pairs. These maps are then encoded in a format
suitable for the wire and then reconstituted as a Map data structure that
the server can process.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">map</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Object">Object</a></span><span>&nbsp;|&nbsp;</span><span class="type"><a href="class_goog_structs_Map.html">goog.structs.Map</a></span>
        <div class="entryOverview">The map to send.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">opt_context</span>
        : <span>?</span><span class="type">Object=</span>
        <div class="entryOverview">The context associated with the map.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1193">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.setAllowChunkedMode"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setAllowChunkedMode<span class="args">(<span class="arg">allowChunkedMode</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Sets whether chunked mode is allowed. In certain debugging situations, it's
useful for the application to have a way to disable chunked mode for a user.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">allowChunkedMode</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
        <div class="entryOverview">Whether chunked mode is allowed.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1179">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.setAllowHostPrefix"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setAllowHostPrefix<span class="args">(<span class="arg">allowHostPrefix</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Sets whether the channel allows the use of a subdomain. There may be cases
where this isn't allowed, for example, logging in with troutboard where
using a subdomain causes Apache to force the user to authenticate twice.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">allowHostPrefix</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
        <div class="entryOverview">Whether a host prefix is allowed.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1142">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.setChannelDebug"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setChannelDebug<span class="args">(<span class="arg">channelDebug</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Set the browserchannel logger.
TODO(user): Add interface for channel loggers or remove this function.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">channelDebug</span>
        : <span class="type"><a href="class_goog_net_ChannelDebug.html">goog.net.ChannelDebug</a></span>
        <div class="entryOverview">The channel debug object.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line851">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.setExtraHeaders"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setExtraHeaders<span class="args">(<span class="arg">extraHeaders</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Sets extra HTTP headers to add to all the requests sent to the server.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">extraHeaders</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Object">Object</a></span>
        <div class="entryOverview">The HTTP headers, or null.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1071">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.setFailFast"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setFailFast<span class="args">(<span class="arg">failFast</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       When set to true, this changes the behavior of the forward channel so it
will not retry requests; it will fail after one network failure, and if
there was already one network failure, the request will fail immediately.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">failFast</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
        <div class="entryOverview">Whether or not to fail fast.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1225">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.setForwardChannelMaxRetries"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setForwardChannelMaxRetries<span class="args">(<span class="arg">retries</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Sets the maximum number of attempts to connect to the server for forward
channel requests.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">retries</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">The maximum number of attempts.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1264">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.setForwardChannelRequestTimeout"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setForwardChannelRequestTimeout<span class="args">(<span class="arg">timeoutMs</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Sets the timeout for a forward channel request.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">timeoutMs</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">The timeout in milliseconds.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1274">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.setHandler"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setHandler<span class="args">(<span class="arg">handler</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Sets the handler used for channel callback events.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">handler</span>
        : <span class="type"><a href="class_goog_net_BrowserChannel_Handler.html">goog.net.BrowserChannel.Handler</a></span>
        <div class="entryOverview">The handler to set.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1121">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.setParser"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setParser<span class="args">(<span class="arg">parser</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Sets a new parser for the response payload. A custom parser may be set to
avoid using eval(), for example. By default, the parser uses
<code> goog.json.unsafeParse</code>.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">parser</span>
        : <span>!</span><span class="type"><a href="interface_goog_string_Parser.html">goog.string.Parser</a></span>
        <div class="entryOverview">Parser.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1340">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.setReadyStateChangeThrottle"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setReadyStateChangeThrottle<span class="args">(<span class="arg">throttle</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Sets the throttle for handling onreadystatechange events for the request.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">throttle</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">The throttle in ms.  A value of zero indicates
    no throttle.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1082">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.setRetryDelay"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setRetryDelay<span class="args">(<span class="arg">baseDelayMs</span>,&nbsp;<span class="arg">delaySeedMs</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">baseDelayMs</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">The base part of the retry delay, in ms.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">delaySeedMs</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">A random delay between 0 and this is added to
    the base part.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line2097">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.setSupportsCrossDomainXhrs"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setSupportsCrossDomainXhrs<span class="args">(<span class="arg">supportCrossDomain</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Sets whether cross origin requests are supported for the browser channel.

Setting this allows the creation of requests to secondary domains and
sends XHRs with the CORS withCredentials bit set to true.

In order for cross-origin requests to work, the server will also need to set
CORS response headers as per:
<a href="https://developer.mozilla.org/en-US/docs/HTTP_access_control">https://developer.mozilla.org/en-US/docs/HTTP_access_control</a>

See <code> goog.net.XhrIo#setWithCredentials</code>.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">supportCrossDomain</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
        <div class="entryOverview">Whether cross domain XHRs are supported.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1101">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.shouldRetryBackChannel_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">shouldRetryBackChannel_<span class="args">(<span class="arg">outstandingBytes</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
      </div>


     <div class="entryOverview">
       Determines whether we should start the process of retrying a possibly
dead backchannel.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">outstandingBytes</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">The number of bytes for which the server has
    not yet received acknowledgement.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>&nbsp;
            Whether to start the backchannel retry timer.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1903">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.shouldUseSecondaryDomains"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">shouldUseSecondaryDomains<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
      </div>


     <div class="entryOverview">
       Determines whether to use a secondary domain when the server gives us
a host prefix. This allows us to work around browser per-domain
connection limits.

Currently, we  use secondary domains when using Trident's ActiveXObject,
because it supports cross-domain requests out of the box.  Note that in IE10
we no longer use ActiveX since it's not supported in Metro mode and IE10
supports XHR streaming.

If you need to use secondary domains on other browsers and IE10,
you have two choices:
    1) If you only care about browsers that support CORS
       (<a href="https://developer.mozilla.org/en-US/docs/HTTP_access_control">https://developer.mozilla.org/en-US/docs/HTTP_access_control</a>), you
       can use <code> #setSupportsCrossDomainXhrs</code> and set the appropriate
       CORS response headers on the server.
    2) Or, override this method in a subclass, and make sure that those
       browsers use some messaging mechanism that works cross-domain (e.g
       iframes and window.postMessage).


     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>&nbsp;
            Whether to use secondary domains.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line2518">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.signalError_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">signalError_<span class="args">(<span class="arg">error</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Signals an error has occurred.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">error</span>
        : <span class="type">goog.net.BrowserChannel.Error</span>
        <div class="entryOverview">The error code for the failure.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line2187">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.startBackChannel_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">startBackChannel_<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Begins a new back channel operation to the server.

     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1686">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.startForwardChannel_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">startForwardChannel_<span class="args">(<span class="arg">opt_retryRequest</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Begins a new forward channel operation to the server.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">opt_retryRequest</span>
        : <span class="type">goog.net.ChannelRequest=</span>
        <div class="entryOverview">A failed request to retry.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1430">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.testConnectionBlocked"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">testConnectionBlocked<span class="args">(<span class="arg">testChannel</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Callback from BrowserTestChannel for when the channel is blocked.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">testChannel</span>
        : <span class="type"><a href="class_goog_net_BrowserTestChannel.html">goog.net.BrowserTestChannel</a></span>
        <div class="entryOverview">The BrowserTestChannel.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1777">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.testConnectionFailure"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">testConnectionFailure<span class="args">(<span class="arg">testChannel</span>,&nbsp;<span class="arg">errorCode</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Callback from BrowserTestChannel for when the channel has an error.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">testChannel</span>
        : <span class="type"><a href="class_goog_net_BrowserTestChannel.html">goog.net.BrowserTestChannel</a></span>
        <div class="entryOverview">The BrowserTestChannel.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">errorCode</span>
        : <span class="type">goog.net.ChannelRequest.Error</span>
        <div class="entryOverview">The error code of the
    failure.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1765">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.testConnectionFinished"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">testConnectionFinished<span class="args">(<span class="arg">testChannel</span>,&nbsp;<span class="arg">useChunked</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Callback from BrowserTestChannel for when the channel is finished.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">testChannel</span>
        : <span class="type"><a href="class_goog_net_BrowserTestChannel.html">goog.net.BrowserTestChannel</a></span>
        <div class="entryOverview">The BrowserTestChannel.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">useChunked</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
        <div class="entryOverview">Whether we can chunk responses.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1749">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.prototype.testGoogleComCallback_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">testGoogleComCallback_<span class="args">(<span class="arg">networkUp</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Callback for testGoogleCom during error handling.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">networkUp</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
        <div class="entryOverview">Whether the network is up.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line2211">code &raquo;</a>
  </td>
     </tr>


  </table>
</div>
</div>




<h2>Instance Properties</h2>







<div>
       <div class="desc">
         Defined in
         <span class="fn-name">
            <a href="class_goog_net_BrowserChannel.html">
              goog.net.BrowserChannel
            </a>
         </span>
       </div>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.allowChunkedMode_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">allowChunkedMode_</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1181">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.allowHostPrefix_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">allowHostPrefix_</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1144">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.backChannelAttemptId_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">backChannelAttemptId_</span>
        : 
     </div>


     <div class="entryOverview">
       The attempt id for the current back channel request. Starts at 1 and
increments for each reconnect. The server uses this to log if our connection
is flaky or not.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line378">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.backChannelRequest_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">backChannelRequest_</span>
        : <span class="type"><a href="class_goog_net_ChannelRequest.html">goog.net.ChannelRequest</a></span>
     </div>


     <div class="entryOverview">
       The ChannelRequest object for the backchannel.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line201">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.backChannelRetryCount_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">backChannelRetryCount_</span>
        : 
     </div>


     <div class="entryOverview">
       Number of times it a row that we have retried the current back channel
request and received no data.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line368">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.backChannelTimerId_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">backChannelTimerId_</span>
        : 
     </div>


     <div class="entryOverview">
       Timer identifier for asynchronously making a back channel request.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line292">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.backChannelUri_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">backChannelUri_</span>
        : <span class="type"><a href="class_goog_Uri.html">goog.Uri</a></span>
     </div>


     <div class="entryOverview">
       The absolute URI for the backchannel request.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line226">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.baseRetryDelayMs_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">baseRetryDelayMs_</span>
        : 
     </div>


     <div class="entryOverview">
       The base part of the time before firing next retry request. Default is 5
seconds. Note that a random delay is added (see <code> retryDelaySeedMs_</code>)
for all retries, and linear backoff is applied to the sum for subsequent
retries.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line389">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.channelDebug_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">channelDebug_</span>
        : <span class="type"><a href="class_goog_net_ChannelDebug.html">goog.net.ChannelDebug</a></span>
     </div>


     <div class="entryOverview">
       The channel debug used for browserchannel logging

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line114">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.channelVersion_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">channelVersion_</span>
        : 
     </div>


     <div class="entryOverview">
       The channel version that we negotiated with the server for this session.
Starts out as the version we request, and then is changed to the negotiated
version after the initial open.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line462">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.clientVersion_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">clientVersion_</span>
        : 
     </div>


     <div class="entryOverview">
       The application specific version that is passed to the server.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line83">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.connectionTest_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">connectionTest_</span>
        : <span class="type"><a href="class_goog_net_BrowserTestChannel.html">goog.net.BrowserTestChannel</a></span>
     </div>


     <div class="entryOverview">
       The BrowserTestChannel object which encapsulates the logic for determining
interesting network conditions about the client.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line310">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.deadBackChannelTimerId_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">deadBackChannelTimerId_</span>
        : 
     </div>


     <div class="entryOverview">
       Timer identifier for the timer that waits for us to retry the backchannel in
the case where it is dead and no longer receiving data.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line301">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.extraHeaders_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">extraHeaders_</span>
        : 
     </div>


     <div class="entryOverview">
       Extra HTTP headers to add to all the requests sent to the server.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line177">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.extraParams_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">extraParams_</span>
        : 
     </div>


     <div class="entryOverview">
       Extra parameters to add to all the requests sent to the server.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line185">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.failFast_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">failFast_</span>
        : 
     </div>


     <div class="entryOverview">
       Whether to fail forward-channel requests after one try, or after a few tries.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line268">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.firstTestResults_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">firstTestResults_</span>
        : 
     </div>


     <div class="entryOverview">
       An array of results for the first browser channel test call.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line129">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.forwardChannelMaxRetries_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">forwardChannelMaxRetries_</span>
        : 
     </div>


     <div class="entryOverview">
       Maximum number of attempts to connect to the server for forward channel
requests. Defaults to 2.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line407">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.forwardChannelRequestTimeoutMs_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">forwardChannelRequestTimeoutMs_</span>
        : 
     </div>


     <div class="entryOverview">
       The timeout in milliseconds for a forward channel request. Defaults to 20
seconds. Note that part of this timeout can be randomized.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line416">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.forwardChannelRequest_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">forwardChannelRequest_</span>
        : <span class="type"><a href="class_goog_net_ChannelRequest.html">goog.net.ChannelRequest</a></span>
     </div>


     <div class="entryOverview">
       The current ChannelRequest object for the forwardchannel.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line193">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.forwardChannelRetryCount_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">forwardChannelRetryCount_</span>
        : 
     </div>


     <div class="entryOverview">
       Number of times we have retried the current forward channel request.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line359">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.forwardChannelTimerId_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">forwardChannelTimerId_</span>
        : 
     </div>


     <div class="entryOverview">
       Timer identifier for asynchronously making a forward channel request.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line284">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.forwardChannelUri_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">forwardChannelUri_</span>
        : <span class="type"><a href="class_goog_Uri.html">goog.Uri</a></span>
     </div>


     <div class="entryOverview">
       The absolute URI for the forwardchannel request.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line218">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.handler_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">handler_</span>
        : <span class="type"><a href="class_goog_net_BrowserChannel_Handler.html">goog.net.BrowserChannel.Handler</a></span>
     </div>


     <div class="entryOverview">
       The handler that receive callbacks for state changes and data.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line276">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.hostPrefix_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">hostPrefix_</span>
        : 
     </div>


     <div class="entryOverview">
       A subdomain prefix for using a subdomain in IE for the backchannel
requests.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line235">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.lastArrayId_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">lastArrayId_</span>
        : 
     </div>


     <div class="entryOverview">
       The array identifier of the last array received from the server for the
backchannel request.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line335">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.lastPostResponseArrayId_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">lastPostResponseArrayId_</span>
        : 
     </div>


     <div class="entryOverview">
       The array identifier of the last array sent by the server that we know about.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line343">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.lastStatusCode_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">lastStatusCode_</span>
        : 
     </div>


     <div class="entryOverview">
       The last status code received.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line351">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.nextMapId_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">nextMapId_</span>
        : 
     </div>


     <div class="entryOverview">
       The id to use for the next outgoing map. This identifier uniquely
identifies a sent map.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line260">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.nextRid_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">nextRid_</span>
        : 
     </div>


     <div class="entryOverview">
       The next id to use for the RID (request identifier) parameter. This
identifier uniquely identifies the forward channel request.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line251">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.outgoingMaps_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">outgoingMaps_</span>
        : 
     </div>


     <div class="entryOverview">
       An array of queued maps that need to be sent to the server.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line98">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.parser_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">parser_</span>
        : <span class="type"><a href="class_goog_json_EvalJsonProcessor.html">goog.json.EvalJsonProcessor</a></span>
     </div>


     <div class="entryOverview">
       Parser for a response payload. Defaults to use
<code> goog.json.unsafeParse</code>. The parser should return an array.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line122">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.path_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">path_</span>
        : 
     </div>


     <div class="entryOverview">
       The relative path (in the context of the the page hosting the browser
channel) for making requests to the server.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line210">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.pendingMaps_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">pendingMaps_</span>
        : 
     </div>


     <div class="entryOverview">
       An array of dequeued maps that we have either received a non-successful
response for, or no response at all, and which therefore may or may not
have been received by the server.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line107">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.readyStateChangeThrottleMs_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">readyStateChangeThrottleMs_</span>
        : 
     </div>


     <div class="entryOverview">
       A throttle time in ms for readystatechange events for the backchannel.
Useful for throttling when ready state is INTERACTIVE (partial data).

This throttle is useful if the server sends large data chunks down the
backchannel.  It prevents examining XHR partial data on every
readystate change event.  This is useful because large chunks can
trigger hundreds of readystatechange events, each of which takes ~5ms
or so to handle, in turn making the UI unresponsive for a significant period.

If set to zero no throttle is used.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line433">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.retryDelaySeedMs_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">retryDelaySeedMs_</span>
        : 
     </div>


     <div class="entryOverview">
       A random time between 0 and this number of MS is added to the
<code> baseRetryDelayMs_</code>. Default is 10 seconds.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line398">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.secondTestResults_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">secondTestResults_</span>
        : 
     </div>


     <div class="entryOverview">
       The results of the second browser channel test. True implies the
connection is buffered, False means unbuffered, null means that
the results are not available.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line137">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.state_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">state_</span>
        : 
     </div>


     <div class="entryOverview">
       The current state of the BrowserChannel. It should be one of the
goog.net.BrowserChannel.State constants.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line91">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.supportsCrossDomainXhrs_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">supportsCrossDomainXhrs_</span>
        : 
     </div>


     <div class="entryOverview">
       Whether cross origin requests are supported for the browser channel.

See <code> goog.net.XhrIo#setWithCredentials</code>.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line443">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.prototype.useChunked_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">useChunked_</span>
        : 
     </div>


     <div class="entryOverview">
       Whether the client's network conditions can support chunked responses.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line318">Code &raquo;</a>
  </td>
     </tr>


  </table>
</div>
</div>




<h2>Static Methods</h2>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.createChannelRequest"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.net.BrowserChannel.</span><span class="entryName">createChannelRequest<span class="args">(<span class="arg">channel</span>,&nbsp;<span class="arg">channelDebug</span>,&nbsp;<span class="arg">opt_sessionId</span>,&nbsp;<span class="arg">opt_requestId</span>,&nbsp;<span class="arg">opt_retryId</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="class_goog_net_ChannelRequest.html">goog.net.ChannelRequest</a></span>
      </div>


     <div class="entryOverview">
       Instantiates a ChannelRequest with the given parameters. Overidden in tests.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">channel</span>
        : <span class="type"><a href="class_goog_net_BrowserChannel.html">goog.net.BrowserChannel</a></span><span>&nbsp;|&nbsp;</span><span class="type"><a href="class_goog_net_BrowserTestChannel.html">goog.net.BrowserTestChannel</a></span>
        <div class="entryOverview">The BrowserChannel that owns this request.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">channelDebug</span>
        : <span class="type"><a href="class_goog_net_ChannelDebug.html">goog.net.ChannelDebug</a></span>
        <div class="entryOverview">A ChannelDebug to use for
    logging.</div>
     </td>
   </tr>
     
   <tr class="even">
     <td>
        <span class="entryName">opt_sessionId</span>
        : <span class="type">string=</span>
        <div class="entryOverview">The session id for the channel.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">opt_requestId</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span><span>&nbsp;|&nbsp;</span><span class="type">number=</span>
        <div class="entryOverview">The request id for this request.</div>
     </td>
   </tr>
     
   <tr class="even">
     <td>
        <span class="entryName">opt_retryId</span>
        : <span class="type">number=</span>
        <div class="entryOverview">The retry id for this request.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="class_goog_net_ChannelRequest.html">goog.net.ChannelRequest</a></span>&nbsp;
            The created channel request.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line911">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.getStatEventTarget"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.net.BrowserChannel.</span><span class="entryName">getStatEventTarget<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="class_goog_events_EventTarget.html">goog.events.EventTarget</a></span>
      </div>


     <div class="entryOverview">
       Returns the singleton event target for stat events.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="class_goog_events_EventTarget.html">goog.events.EventTarget</a></span>&nbsp;
            The event target for stat events.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line2451">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.isFatalError_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.net.BrowserChannel.</span><span class="entryName">isFatalError_<span class="args">(<span class="arg">error</span>,&nbsp;<span class="arg">statusCode</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
      </div>


     <div class="entryOverview">
       Returns whether or not the given error/status combination is fatal or not.
On fatal errors we immediately close the session rather than retrying the
failed request.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">error</span>
        : <span>?</span><span class="type">goog.net.ChannelRequest.Error</span>
        <div class="entryOverview">The error code for the failed
request.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">statusCode</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">The last HTTP status code.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>&nbsp;
            Whether or not the error is fatal.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line1973">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.notifyStatEvent"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.net.BrowserChannel.</span><span class="entryName">notifyStatEvent<span class="args">(<span class="arg">stat</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Helper function to call the stat event callback.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">stat</span>
        : <span class="type">goog.net.BrowserChannel.Stat</span>
        <div class="entryOverview">The stat.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line2474">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.notifyTimingEvent"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.net.BrowserChannel.</span><span class="entryName">notifyTimingEvent<span class="args">(<span class="arg">size</span>,&nbsp;<span class="arg">rtt</span>,&nbsp;<span class="arg">retries</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Helper function to notify listeners about POST request performance.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">size</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">Number of characters in the POST data.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">rtt</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">The amount of time from POST start to response.</div>
     </td>
   </tr>
     
   <tr class="even">
     <td>
        <span class="entryName">retries</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">The number of times the POST had to be retried.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line2488">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.onEndExecution"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.net.BrowserChannel.</span><span class="entryName">onEndExecution<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Helper function to call the end hook

     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line2442">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.onStartExecution"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.net.BrowserChannel.</span><span class="entryName">onStartExecution<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Helper function to call the start hook

     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line2434">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.setEndThreadExecutionHook"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.net.BrowserChannel.</span><span class="entryName">setEndThreadExecutionHook<span class="args">(<span class="arg">endHook</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Allows the application to set an execution hooks for when BrowserChannel
stops processing requests. This is useful to track timing or logging
special information. The function takes no parameters and return void.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">endHook</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Function">Function</a></span>
        <div class="entryOverview">The function for the end hook.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line876">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.setStartThreadExecutionHook"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.net.BrowserChannel.</span><span class="entryName">setStartThreadExecutionHook<span class="args">(<span class="arg">startHook</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Allows the application to set an execution hooks for when BrowserChannel
starts processing requests. This is useful to track timing or logging
special information. The function takes no parameters and return void.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">startHook</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Function">Function</a></span>
        <div class="entryOverview">The function for the start hook.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line865">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.net.BrowserChannel.setTimeout"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.net.BrowserChannel.</span><span class="entryName">setTimeout<span class="args">(<span class="arg">fn</span>,&nbsp;<span class="arg">ms</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
      </div>


     <div class="entryOverview">
       Wrapper around SafeTimeout which calls the start and end execution hooks
with a try...finally block.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">fn</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Function">Function</a></span>
        <div class="entryOverview">The callback function.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">ms</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">The time in MS for the timer.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>&nbsp;
            The ID of the timer.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line2416">code &raquo;</a>
  </td>
     </tr>


  </table>
</div>



<h2>Static Properties</h2>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry public">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.BACK_CHANNEL_MAX_RETRIES"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.net.BrowserChannel.</span><span class="entryName">BACK_CHANNEL_MAX_RETRIES</span>
        : 
     </div>


     <div class="entryOverview">
       Maximum number of attempts to connect to the server for back channel
requests.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line497">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.Event"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.net.BrowserChannel.</span><span class="entryName">Event</span>
        : 
     </div>


     <div class="entryOverview">
       Events fired by BrowserChannel and associated objects

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line590">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.FORWARD_CHANNEL_RETRY_TIMEOUT"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.net.BrowserChannel.</span><span class="entryName">FORWARD_CHANNEL_RETRY_TIMEOUT</span>
        : 
     </div>


     <div class="entryOverview">
       The timeout in milliseconds for a forward channel request.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line489">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.INACTIVE_CHANNEL_RETRY_FACTOR"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.net.BrowserChannel.</span><span class="entryName">INACTIVE_CHANNEL_RETRY_FACTOR</span>
        : 
     </div>


     <div class="entryOverview">
       When retrying for an inactive channel, we will multiply the total delay by
this number.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line514">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.LATEST_CHANNEL_VERSION"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.net.BrowserChannel.</span><span class="entryName">LATEST_CHANNEL_VERSION</span>
        : 
     </div>


     <div class="entryOverview">
       The latest protocol version that this class supports. We request this version
from the server when opening the connection. Should match
com.google.net.browserchannel.BrowserChannel.LATEST_CHANNEL_VERSION.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line452">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.LogSaver"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.net.BrowserChannel.</span><span class="entryName">LogSaver</span>
        : 
     </div>


     <div class="entryOverview">
       A LogSaver that can be used to accumulate all the debug logs for
BrowserChannels so they can be sent to the server when a problem is
detected.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line2529">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.MAGIC_RESPONSE_COOKIE"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.net.BrowserChannel.</span><span class="entryName">MAGIC_RESPONSE_COOKIE</span>
        : 
     </div>


     <div class="entryOverview">
       The normal response for forward channel requests.
Used only before version 8 of the protocol.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line821">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.MAX_MAPS_PER_REQUEST_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.net.BrowserChannel.</span><span class="entryName">MAX_MAPS_PER_REQUEST_</span>
        : 
     </div>


     <div class="entryOverview">
       The maximum number of maps that can be sent in one POST. Should match
com.google.net.browserchannel.BrowserChannel.MAX_MAPS_PER_REQUEST.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line575">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.OUTSTANDING_DATA_BACKCHANNEL_RETRY_CUTOFF"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.net.BrowserChannel.</span><span class="entryName">OUTSTANDING_DATA_BACKCHANNEL_RETRY_CUTOFF</span>
        : 
     </div>


     <div class="entryOverview">
       A guess at a cutoff at which to no longer assume the backchannel is dead
when we are slow to receive data. Number in bytes.

Assumption: The worst bandwidth we work on is 50 kilobits/sec
50kbits/sec * (1 byte / 8 bits) * 6 sec dead backchannel timeout

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line832">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.RTT_ESTIMATE"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.net.BrowserChannel.</span><span class="entryName">RTT_ESTIMATE</span>
        : 
     </div>


     <div class="entryOverview">
       A number in MS of how long we guess the maxmium amount of time a round trip
to the server should take. In the future this could be substituted with a
real measurement of the RTT.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line506">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.endExecutionHook_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.net.BrowserChannel.</span><span class="entryName">endExecutionHook_</span>
        : 
     </div>


     <div class="entryOverview">
       Application provided execution hook for the end hook.


     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line896">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.startExecutionHook_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.net.BrowserChannel.</span><span class="entryName">startExecutionHook_</span>
        : 
     </div>


     <div class="entryOverview">
       Application provided execution hook for the start hook.


     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line887">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.statEventTarget_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.net.BrowserChannel.</span><span class="entryName">statEventTarget_</span>
        : <span class="type"><a href="class_goog_events_EventTarget.html">goog.events.EventTarget</a></span>
     </div>


     <div class="entryOverview">
       Singleton event target for firing stat events

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line583">Code &raquo;</a>
  </td>
     </tr>


  </table>
</div>



<h2>Enumerations</h2>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.ChannelType_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.net.BrowserChannel.</span><span class="entryName">ChannelType_</span>
        : 
     </div>


     <div class="entryOverview">
       Internal enum type for the two browser channel channel types.

     </div>

     <div class="entryDetails">
       <div class="detailsSection">
          <b>Constants:</b>
          <table class="horiz-rule">
            <tbody>
              <tr><td>
                <span class="entryName">
                  BACK_CHANNEL
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  FORWARD_CHANNEL
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
           </tbody>
         </table>
       </div>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line562">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.Error"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.net.BrowserChannel.</span><span class="entryName">Error</span>
        : 
     </div>


     <div class="entryOverview">
       Enum type for identifying a BrowserChannel error.

     </div>

     <div class="entryDetails">
       <div class="detailsSection">
          <b>Constants:</b>
          <table class="horiz-rule">
            <tbody>
              <tr><td>
                <span class="entryName">
                  ACTIVE_X_BLOCKED
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  BAD_DATA
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  BAD_RESPONSE
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  BLOCKED
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  LOGGED_OUT
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  NETWORK
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  NO_DATA
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  OK
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  REQUEST_FAILED
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  STOP
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  UNKNOWN_SESSION_ID
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
           </tbody>
         </table>
       </div>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line521">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.ServerReachability"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.net.BrowserChannel.</span><span class="entryName">ServerReachability</span>
        : 
     </div>


     <div class="entryOverview">
       Types of events which reveal information about the reachability of the
server.

     </div>

     <div class="entryDetails">
       <div class="detailsSection">
          <b>Constants:</b>
          <table class="horiz-rule">
            <tbody>
              <tr><td>
                <span class="entryName">
                  BACK_CHANNEL_ACTIVITY
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  REQUEST_FAILED
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  REQUEST_MADE
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  REQUEST_SUCCEEDED
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
           </tbody>
         </table>
       </div>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line683">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.Stat"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.net.BrowserChannel.</span><span class="entryName">Stat</span>
        : 
     </div>


     <div class="entryOverview">
       Enum that identifies events for statistics that are interesting to track.
TODO(user) - Change name not to use Event or use EventTarget

     </div>

     <div class="entryDetails">
       <div class="detailsSection">
          <b>Constants:</b>
          <table class="horiz-rule">
            <tbody>
              <tr><td>
                <span class="entryName">
                  ACTIVE_X_BLOCKED
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  BACKCHANNEL_DEAD
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  BACKCHANNEL_MISSING
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  BROWSER_OFFLINE
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  CHANNEL_BLOCKED
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  CONNECT_ATTEMPT
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  ERROR_NETWORK
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  ERROR_OTHER
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  NOPROXY
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  PROXY
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  REQUEST_BAD_DATA
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  REQUEST_BAD_STATUS
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  REQUEST_INCOMPLETE_DATA
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  REQUEST_NO_DATA
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  REQUEST_TIMEOUT
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  REQUEST_UNKNOWN_SESSION_ID
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  TEST_STAGE_ONE_FAILED
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  TEST_STAGE_ONE_START
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  TEST_STAGE_TWO_DATA_BOTH
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  TEST_STAGE_TWO_DATA_ONE
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  TEST_STAGE_TWO_DATA_TWO
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  TEST_STAGE_TWO_FAILED
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  TEST_STAGE_TWO_START
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
           </tbody>
         </table>
       </div>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line722">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>





  <a name="goog.net.BrowserChannel.State"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.net.BrowserChannel.</span><span class="entryName">State</span>
        : 
     </div>


     <div class="entryOverview">
       Enum type for the browser channel state machine.

     </div>

     <div class="entryDetails">
       <div class="detailsSection">
          <b>Constants:</b>
          <table class="horiz-rule">
            <tbody>
              <tr><td>
                <span class="entryName">
                  CLOSED
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  INIT
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  OPENED
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  OPENING
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
           </tbody>
         </table>
       </div>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_net_browserchannel.js.source.html#line470">Code &raquo;</a>
  </td>
     </tr>


  </table>
</div>
      <!-- Column 1 end -->
    </div>

        <div class="col2">
          <!-- Column 2 start -->
          <div class="col2-c">
            <h2 id="ref-head">Package net</h2>
            <div id="localView"></div>
          </div>

          <div class="col2-c">
            <h2 id="ref-head">Package Reference</h2>
            <div id="sideTypeIndex" rootPath="" current="net.BrowserChannel"></div>
          </div>
          <!-- Column 2 end -->
        </div>
</div>
</div>

</body>
</html>
